home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / Dev / Oberon / source / amiga / RamDrive.mod < prev    next >
Text File  |  1995-06-29  |  1KB  |  56 lines

  1. (**************************************************************************
  2.  
  3.      $RCSfile: RamDrive.mod $
  4.   Description: Interface to ramdrive.device
  5.  
  6.    Created by: fjc (Frank Copeland)
  7.     $Revision: 3.8 $
  8.       $Author: fjc $
  9.         $Date: 1995/06/04 23:13:14 $
  10.  
  11.   $VER: ramdrive_protos.h 36.3 (7.11.90)
  12.   Includes Release 40.15
  13.  
  14.   (C) Copyright 1985-1993 Commodore-Amiga, Inc.
  15.       All Rights Reserved
  16.  
  17.   Oberon-A interface Copyright © 1994-1995, Frank Copeland.
  18.   This file is part of the Oberon-A Interface.
  19.   See Oberon-A.doc for conditions of use and distribution.
  20.  
  21. ***************************************************************************)
  22.  
  23. <* STANDARD- *>
  24.  
  25. MODULE [2] RamDrive;
  26.  
  27. IMPORT e := Exec;
  28.  
  29.  
  30. (*-- RamDrive Base variable --------------------------------------------*)
  31.  
  32. CONST
  33.  
  34.   ramDriveName * = "ramdrive.device";
  35.  
  36. VAR
  37.  
  38.   base * : e.DevicePtr;
  39.  
  40. (*-- Device Functions ---------------------------------------------------*)
  41.  
  42.  
  43. (*--- functions in V34 or higher (Release 1.3) ---*)
  44.  
  45. PROCEDURE KillRAD0* [base,-42] ()
  46.   : e.LSTRPTR;
  47.  
  48. (*--- functions in V36 or higher (Release 2.0) ---*)
  49.  
  50. PROCEDURE KillRAD* [base,-48]
  51.   ( unit [0] : LONGINT )
  52.   : e.LSTRPTR;
  53.  
  54. BEGIN base := NIL
  55. END RamDrive.
  56.